/**
 * @ClassName Demo2
 * @Author ykx
 * @Date 2024/6/20 22:40
 * @Version 1.0
 */
public class Demo2 {
    public static void main(String[] args) {
        System.out.println(0.0 / 0); // NaN
        System.out.println(1.0 / 0); //Infinity
    }
}
